{% extends "userena/base_userena.html" %}
{% load i18n %}

{% block title %}{% trans "Notification manager" %}{% endblock %}

{% block content_title %}<h2>{% blocktrans with user.username as username %}Account &raquo; {{ username }}{% endblocktrans %}</h2>{% endblock %}

{% block content %}
<form action="/notif/" method="post">
  <ul id="box-nav">
    <li class="first"><a href='{% url userena_profile_detail user.username %}'><span>{% trans 'View profile' %}</span></a></li>
    <li><a href='{% url userena_profile_edit user.username %}'>{% trans "Edit profile" %}</a></li>
    <li><a href='{% url userena_password_change user.username %}'>{% trans "Change password" %}</a></li>
    <li><a href='{% url userena_email_change user.username %}'>{% trans "Change email" %}</a></li>
    <li class="last selected"><a href='{% url notification_manager %}'>{% trans "Notification manager" %}</a></li>
  </ul>
  {% csrf_token %}
  <fieldset>
    <legend>{% trans "Notification manager" %}</legend>
    {{ form.as_p }}
  </fieldset>
  <input type="submit" value="{% trans "Edit notifications" %}" />
</form> 
{% endblock %}